package spring.component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * User  yyl
 * Description: 手动注入值
 * Created by yaoyonglong on 2018/11/1 9:36
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyValue {

    // 定义value的值
    public String value();


}
